package com.pkche.core.advanced.util;

import java.net.URI;

import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;

/**
 * http_delete请求需要重写
 * @author zhongpengzhan
 *
 */
public class HttpDeleteOverride extends HttpEntityEnclosingRequestBase {
	public static final String METHOD_NAME = "DELETE";

	public String getMethod() {
		return METHOD_NAME;
	}
	
	public HttpDeleteOverride(final String uri) {
        super();
        setURI(URI.create(uri));
    }

    public HttpDeleteOverride(final URI uri) {
        super();
        setURI(uri);
    }

    public HttpDeleteOverride() {
        super();
    }
}
